from django.urls import path

from . import views

# 命名空间用于区别不同应用的相同请求路径
app_name = 'gpt4all_client'
# 请求路径视图映射关系
urlpatterns = [
    # 通过姓名猜测性别接口路径
    path('guessGenderByName', views.guess_gender_by_name, name='guessGenderByName'),
    # 通过模型名称和问题获取答案
    path('getAnswer', views.get_answer_form_model, name='getAnswerFormModel'),
    # 通过模型名称和问题获取答案
    path('getAnswerFromBaichuan', views.get_answer_form_baichuan, name='getAnswerFormBaichuan'),
]
